xen/vm_event: Add RESUME option to vm_event_op domctl
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Thu, 9 Apr 2015 14:32:53 +0000 (16:32 +0200)
committerTim Deegan <tim@xen.org>
Thu, 16 Apr 2015 08:43:11 +0000 (09:43 +0100)
commit4fa41d0504538c735e4d60c77eac4de9ec33763a
tree02395caa2b2c97b6dd5629607504ca7902c642b8
parent0f5bff46db971dc37ed8fd2c53c1fb5ab641d69c
xen/vm_event: Add RESUME option to vm_event_op domctl

Thus far mem_access and mem_sharing memops had been able to signal
to Xen to start pulling responses off the corresponding rings. In this patch
we retire these memops and add them to the option to the vm_event_op domctl.

The vm_event_op domctl suboptions are the same for each ring thus we
consolidate them into XEN_VM_EVENT_ENABLE/DISABLE/RESUME.

As part of this patch in libxc we also rename the mem_access_enable/disable
functions to monitor_enable/disable and move them into xc_monitor.c.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
12 files changed:
tools/libxc/include/xenctrl.h
tools/libxc/xc_mem_access.c
tools/libxc/xc_mem_paging.c
tools/libxc/xc_memshr.c
tools/libxc/xc_monitor.c
tools/libxc/xc_vm_event.c
tools/tests/xen-access/xen-access.c
xen/arch/x86/mm/mem_sharing.c
xen/common/mem_access.c
xen/common/vm_event.c
xen/include/public/domctl.h
xen/include/public/memory.h